﻿<Window x:Class="TeenyGrab.Windows.AreaSelectorWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="AreaSelectorWindow" Height="300" Width="300" WindowStyle="None" Topmost="True" ResizeMode="NoResize" MouseUp="image1_MouseUp" KeyUp="Window_KeyUp">
    <Grid>
        <Image Name="image1" Stretch="Fill" MouseMove="image1_MouseMove" MouseDown="image1_MouseDown" MouseUp="image1_MouseUp" />
        <Rectangle HorizontalAlignment="Left" Name="rectangle" Stroke="#FFED0000" VerticalAlignment="Top" StrokeThickness="3" MouseMove="image1_MouseMove" MouseDown="image1_MouseDown" MouseUp="image1_MouseUp" StrokeDashArray="2,1" Height="143" Width="156" />
        <Rectangle HorizontalAlignment="Left" Name="topLeft" Fill="#FFED0000" VerticalAlignment="Top" Width="6" Height="6" MouseMove="image1_MouseMove" MouseDown="image1_MouseDown" MouseUp="image1_MouseUp" />
        <Rectangle HorizontalAlignment="Left" Name="topRight" Fill="#FFED0000" VerticalAlignment="Top" Width="6" Height="6" MouseMove="image1_MouseMove" MouseDown="image1_MouseDown" MouseUp="image1_MouseUp" />
        <Rectangle HorizontalAlignment="Left" Name="bottomLeft" Fill="#FFED0000" VerticalAlignment="Top" Width="6" Height="6" MouseMove="image1_MouseMove" MouseDown="image1_MouseDown" MouseUp="image1_MouseUp" />
        <Rectangle HorizontalAlignment="Left" Name="bottomRight" Fill="#FFED0000" VerticalAlignment="Top" Width="6" Height="6" MouseMove="image1_MouseMove" MouseDown="image1_MouseDown" MouseUp="image1_MouseUp" />
        <TextBlock Height="48" HorizontalAlignment="Left" Name="message" VerticalAlignment="Top" Width="156" TextAlignment="Center" Foreground="#FFED0000" FontFamily="Lucida Console" FontSize="15" TextWrapping="NoWrap" MouseMove="image1_MouseMove" MouseDown="image1_MouseDown" MouseUp="image1_MouseUp">
            Drag corners to resize.<LineBreak />
            Press ENTER to finish.            
        </TextBlock>
    </Grid>
</Window>
